package Correction.Gain;

import Correction.RangingCorrectionPolynomes_t;

public class RangingCorrectionSF6BW1600 {
    private static double[] cer = {
            -4.0868e-11,
            -3.4304e-08,
            8.0824e-06,
            -0.00046919,
            0.0041892,
            1.0182,
            0.63995,};
    private static RangingCorrectionPolynomes_t polynomes_t = new RangingCorrectionPolynomes_t(7,cer);
    public static RangingCorrectionPolynomes_t getPolynomes_t()
    {
        return polynomes_t;
    }
    private static double[] array =
            {
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    5.1897,
                    3.4159,
                    1.642,
                    3.29,
                    2.5232,
                    2.3516,
                    2.7178,
                    2.2829,
                    2.363,
                    2.4202,
                    2.6949,
                    2.5576,
                    2.5347,
                    2.3516,
                    2.1456,
                    2.0769,
                    2.0311,
                    2.3058,
                    2.0769,
                    2.054,
                    2.2142,
                    2.1227,
                    2.1913,
                    2.0769,
                    2.0998,
                    2.0998,
                    2.0998,
                    2.1227,
                    2.1227,
                    2.054,
                    2.0998,
                    2.1456,
                    2.1341,
                    2.0998,
                    2.1913,
                    2.5118,
                    2.5576,
                    2.2829,
                    2.1913,
                    2.2371,
                    2.3287,
                    2.3516,
                    3.7706,
                    4.3199,
                    4.2284,
                    4.6633,
                    3.8393,
                    6.1968,
                    4.0453,
                    4.7319,
                    5.4186,
                    6.1052,
                    6.8071,
                    7.509,
                    8.2109,
                    9.7673,
                    10.4311,
                    8.4227,
                    6.4142,
                    6.1739,
                    6.7919,
                    7.0665,
                    7.2725,
                    7.4327,
                    7.2954,
                    7.4556,
                    7.387,
                    7.2954,
                    7.387,
                    7.8905,
                    7.8218,
                    7.799,
                    7.9821,
                    8.0965,
                    8.5085,
                    8.7145,
                    9.4927,
                    10.2709,
                    10.3138,
                    10.3567,
                    10.3996,
                    10.4425,
                    10.4855,
                    10.5284,
                    10.5713,
                    10.6142,
                    9.0578,
                    9.424,
                    9.9047,
                    9.2752,
                    9.1951,
                    9.1722,
                    9.0578,
                    9.1036,
                    9.012,
                    9.0807,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
                    8.5772,
            };
    public static double run(int gain)
    {
        return array[gain];
    }
}
